package net.falsecam.reihenaufnahme;

import java.util.Date;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Key;

@PersistenceCapable
public class TsFile {
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Key key;
	@Persistent
	String language;
	@Persistent
	String blobkey;
	@Persistent
	Date date;

	TsFile(String language, String blobkey) {
		this.date = new Date();
		this.language = language;
		this.blobkey = blobkey;
	}

}
